package com.xwaf.platform.system.auth.serviceimpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.baomidou.mybatisplus.plugins.Page;
import com.xwaf.platform.common.service.service.CrudService;
import com.xwaf.platform.system.api.entity.auth.AccountFreeze;
import com.xwaf.platform.system.api.service.auth.AccountFreezeService;
import com.xwaf.platform.system.auth.dao.AccountFreezeDao;

/**
 * 
 * <p>
 * 用户账户冻结信息
 * <p>
 * 
 * @author 李聪 <br>
 * @email xwaf_love@yeah.net <br>
 * @since JDK 1.8<br>
 * @date 2020-1-24 17:51:40 <br>
 * @see 无<br>
 *      Copyright (c) 2020, xwaf_love@yeah.net All Rights Reserved.<br>
 */
@Transactional(readOnly = true)
@Service("accountFreezeService")
public class AccountFreezeServiceImpl extends CrudService<AccountFreezeDao, AccountFreeze>
		implements AccountFreezeService {
	@Autowired
	private AccountFreezeDao accountFreezeDao;

	@Override
	public Page<AccountFreeze> selPageList(Page<AccountFreeze> page, AccountFreeze accountFreeze) {
		List<AccountFreeze> list = accountFreezeDao.selPageList(page, accountFreeze);
		page.setRecords(list);
		return page;
	}
}
